package com.kaijie.service.impl;

import org.springframework.stereotype.Service;

import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kaijie.dao.OtherPayDao;
import com.kaijie.entity.OtherPayEntity;
import com.kaijie.service.OtherPayService;
import com.kaijie.utils.PageUtils;
import com.kaijie.utils.Query;


@Service("otherPayService")
public class OtherPayServiceImpl extends ServiceImpl<OtherPayDao, OtherPayEntity> implements OtherPayService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OtherPayEntity> page = this.page(
                new Query<OtherPayEntity>().getPage(params),
                new QueryWrapper<OtherPayEntity>()
        );

        return new PageUtils(page);
    }

}
